/**
 * constant 
 * @description 常用的静态数据
 * @Author dinghao
 * @Date 2024-01-01
 * VUE 2.0
 */

/**
 * tabbar页之间跳转
 */
export function changeMenu(param) {
	if (param == 0) {
		uni.navigateTo({
			url: '/pages/index/index'
		})
	} else if (param == 1) {
		uni.navigateTo({
			url: '/pages/trip/tripList'
		})
	} else if (param == 2) {
		uni.navigateTo({
			url: '/pages/scheduling/index'
		})
	} else if (param == 3) {
		uni.setStorageSync('badge', 0);
		uni.navigateTo({
			url: '/pages/message/messageList'
		})
	}
}


//车辆状态
export const eventList = [{
		status: '去接客',
		value: 1
	},
	{
		status: '出发',
		value: 2
	},
	{
		status: '到达',
		value: 3
	},
]

//订单状态
export const orderStatusList = [{
		status: '全部',
		value: 0
	},
	{
		status: '待出行',
		value: 2
	},
	{
		status: '到达',
		value: 3
	},
]